package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the LMB_CONSUMPTIVE_STOCK database table.
 * 
 */
@Entity
@Table(name="LMB_CONSUMPTIVE_STOCK")
@NamedQuery(name="LmbConsumptiveStock.findAll", query="SELECT l FROM LmbConsumptiveStock l")
public class LmbConsumptiveStock implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="CSTOCK_ID")
	private String cstockId;

	@Column(name="CSTOC_BATCH_NUM")
	private String cstocBatchNum;

	@Column(name="CSTOC_CID")
	private String cstocCid;

	@Column(name="CSTOC_CNAME")
	private String cstocCname;

	@Column(name="CSTOC_NORMS")
	private String cstocNorms;

	@Column(name="CSTOC_NUM")
	private BigDecimal cstocNum;

	@Column(name="CSTOC_WAREHOUSE_ID")
	private String cstocWarehouseId;

	@Temporal(TemporalType.DATE)
	@Column(name="CSTOCK_PRODUCT_DATE")
	private Date cstockProductDate;

	@Column(name="CSTOCK_SUPPLIER")
	private String cstockSupplier;

	@Temporal(TemporalType.DATE)
	@Column(name="CSTOCK_VALID_TILL")
	private Date cstockValidTill;

	public LmbConsumptiveStock() {
	}

	public String getCstockId() {
		return this.cstockId;
	}

	public void setCstockId(String cstockId) {
		this.cstockId = cstockId;
	}

	public String getCstocBatchNum() {
		return this.cstocBatchNum;
	}

	public void setCstocBatchNum(String cstocBatchNum) {
		this.cstocBatchNum = cstocBatchNum;
	}

	public String getCstocCid() {
		return this.cstocCid;
	}

	public void setCstocCid(String cstocCid) {
		this.cstocCid = cstocCid;
	}

	public String getCstocCname() {
		return this.cstocCname;
	}

	public void setCstocCname(String cstocCname) {
		this.cstocCname = cstocCname;
	}

	public String getCstocNorms() {
		return this.cstocNorms;
	}

	public void setCstocNorms(String cstocNorms) {
		this.cstocNorms = cstocNorms;
	}

	public BigDecimal getCstocNum() {
		return this.cstocNum;
	}

	public void setCstocNum(BigDecimal cstocNum) {
		this.cstocNum = cstocNum;
	}

	public String getCstocWarehouseId() {
		return this.cstocWarehouseId;
	}

	public void setCstocWarehouseId(String cstocWarehouseId) {
		this.cstocWarehouseId = cstocWarehouseId;
	}

	public Date getCstockProductDate() {
		return this.cstockProductDate;
	}

	public void setCstockProductDate(Date cstockProductDate) {
		this.cstockProductDate = cstockProductDate;
	}

	public String getCstockSupplier() {
		return this.cstockSupplier;
	}

	public void setCstockSupplier(String cstockSupplier) {
		this.cstockSupplier = cstockSupplier;
	}

	public Date getCstockValidTill() {
		return this.cstockValidTill;
	}

	public void setCstockValidTill(Date cstockValidTill) {
		this.cstockValidTill = cstockValidTill;
	}

}